﻿using System;

namespace Noea.TogSim.Model.Train.LocoDriver.States
{
    public abstract class LocoState
    {
        protected String _description;
        public LocoState()
        {
            Console.WriteLine(this);
        }
        public String Description
        {
            get { return _description; }
        }
        public override string ToString()
        {
            return _description;
        }
        public abstract LocoState Handle(LocoDriver_StPattern ld);
    }
}
